Package com.netscape.cmsutil.xml
Class XMLObject
java.lang.Object
com.netscape.cmsutil.xml.XMLObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addItemToContainer
(Node container, String tagname, String value) createContainer
(Node containerParent, String containerName) createRoot
(String name) Each document should have 1 root only.getAllValues
(String tagname) getContainer
(String tagname) If you have duplicate containers, then this method will return the first container in the list.getRoot()
getValuesFromContainer
(Node container, String tagname) void
output
(OutputStream os) byte[]
-
Constructor Details
-
XMLObject
- Throws:
ParserConfigurationException
-
XMLObject
-
XMLObject
-
-
Method Details
-
getDocument
-
createRoot
Each document should have 1 root only. This method should be called once. -
getRoot
-
getContainer
If you have duplicate containers, then this method will return the first container in the list. -
createContainer
-
addItemToContainer
-
getValue
-
getAllValues
-
getValuesFromContainer
-
toByteArray
-
output
-
toXMLString
-